﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Inspiration.Web.Models.Idea>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Upload
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Upload your words list here</h2>

    <% using (Html.BeginForm("Upload", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" }))
       {%>
        <%: Html.ValidationSummary(true)%>
        
        <fieldset>
            <div>
                <h5>Upload nouns list</h5>
                <input type="file" name="nounsListFile" />
            </div>
            
            <div>
                <h5>Upload adjectives list</h5>
                <input type="file" name="adjectivesListFile" />
            </div>

            <p>
                <input type="submit" value="Upload" /> 
            </p>
        </fieldset>
    <% } %>

</asp:Content>
